﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

using System.Diagnostics;

using Bohdan.Arch.Messaging;

namespace WPF_Testing_Application
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        public MessagingBus MainBus = new MessagingBus();

        private void Application_Startup(object sender, StartupEventArgs e)
        {

            wndMain wnd = new wndMain();
            wnd.Show();

            Trace.TraceInformation("Application started.");
        }

        private void Application_Exit(object sender, ExitEventArgs e)
        {
            MainBus.Dispose();
            Trace.TraceInformation("Application exit.");
        }
    }
}
